<?php
App::uses('AppModel', 'Model');
/**
 * MrCode Model
 *
 */
class MrCode extends AppModel {

/**
 * Use table
 *
 * @var mixed False or table name
 */
	public $useTable = 'mr_code';
                  public $hasMany = array(
		'PinCode' => array(
			'className' => 'PinCode',
			'foreignKey' => 'id_code',
			'dependent' => true,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'mr_code',
			'dependent' => true,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '2',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);
	

}
